package com.feicheng.service;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.entity.IntoHeader;
import com.feicheng.model.IntoHeaderWithItem;
import com.feicheng.model.IntoWithPurchase;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hao.zhang
 * @since 2022-07-04
 */
public interface IIntoHeaderService extends IService<IntoHeader> {

    /**
     * 入库分页条件查询
     * @param page 分页条件
     * @param intoHeaderWithItemQueryWrapper 查询条件
     * @author hao.Zhang
     * @return
     */
    Page<IntoHeaderWithItem> selectIntoPage(
            Page<IntoHeaderWithItem> page,
            QueryWrapper<IntoHeaderWithItem> intoHeaderWithItemQueryWrapper);


    /**
     * 入库详情信息查询
     * @param wrapper
     * @author yvan.yao
     * @return
     */
    IntoWithPurchase selectIntodetail(
            @Param(Constants.WRAPPER) Wrapper wrapper);

}
